<%--
  Created by IntelliJ IDEA.
  User: Smile
  Date: 2019/2/22
  Time: 15:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <base href="<%=basePath%>">
    <title>在线考试</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link href="resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="resources/css/mobile-css/home.css" />
    <!-- Le styles -->
    <link href="resources/css/mobile-css/bootstrap.css" rel="stylesheet">
    <%--<link href="resources/chart/morris.css" rel="stylesheet">--%>
    <link href="resources/css/jquery-ui-1.9.2.custom.min.css" rel="stylesheet" type="text/css" />

    <%--<link href="resources/css/mobile-css/mobile-question-add.css" rel="stylesheet">--%>
    <link href="resources/css/mobile-css/mobile-css.css" rel="stylesheet">
    <link href="resources/css/exam.css" rel="stylesheet" type="text/css">
    <style type="text/css">
        body {
            padding-top: 60px;
            padding-bottom: 40px;
        }
        .def-bk-content {
            padding: 0px;
        }
        #question-time, #question-submit {
            margin-top: 0px;
        }
    </style>
    <link href="resources/css/mobile-css/bootstrap-responsive.css" rel="stylesheet">
    <link rel="shortcut icon" href="<%=basePath%>resources/images/favicon.ico"/>
</head>
<body>
    <jsp:include page="mobile-header.jsp"/>
    <div class="content">

        <div class="container">
            <div class="row">
                <div class="col-xs-2">
                    <div class="def-bk" id="bk-exam-control">

                        <div class="def-bk-content" id="exam-control">

                            <div id="question-time" class="question-time-normal">
                                <span style="margin-right:10px;color: #B8B8B8;">剩余时间</span>
                                <span id="exam-clock">&nbsp;</span>
                                <span id="exam-timestamp" style="display:none;">${duration }</span>
                                <div id="answer-save-info"></div>

                            </div>
                            <div id="question-submit">
                                <button class="btn-success btn" style="width:100%;">
                                    我要交卷
                                </button>
                            </div>
                            <div id="exam-info" style="display:none;">
                                <span id="answer-hashcode"></span>
                            </div>
                        </div>

                    </div>

                </div>
                <div class="col-xs-4">
                    <div class="def-bk" id="bk-exampaper">

                        <div class="expand-bk-content" id="bk-conent-exampaper">
                            <div id="exampaper-header">
                                <div id="exampaper-title">
                                    <i class="fa fa-send"></i>
                                    <span id="exampaper-title-name"> 模拟试卷 </span>
                                    <span style="display:none;" id="exampaper-id">1</span>
                                </div>
                                <div id="exampaper-desc-container">
                                    <div id="exampaper-desc" class="exampaper-filter">

                                    </div>
                                </div>

                            </div>
                            <input type="hidden" id="start-time" value="${startTime }">
                            <input type="hidden" id="hist-id" value="${examHistoryId }">
                            <input type="hidden" id="paper-id" value="${examPaperId }">
                            <input type="hidden" id="exam-id" value="${examId }">
                            <input type="hidden" id="exam-type" value="${examType }">
                            <input type="hidden" id="end-time" value="${endTime }">
                            <ul id="exampaper-body">
                                ${htmlStr }
                            </ul>
                            <div id="exampaper-footer">
                                <div id="question-navi">
                                    <div id="question-navi-controller">
                                        <i class="fa fa-arrow-circle-down"></i>
                                        <span>答题卡</span>
                                    </div>
                                    <div id="question-navi-content">
                                    </div>
                                </div>

                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
        <hr>
        <jsp:include page="footer.jsp"/>
    </div>
    <!-- Javascript files -->
    <!-- jQuery -->
    <script type="text/javascript" src="resources/js/jquery/jquery-1.9.0.min.js"></script>
    <!-- Bootstrap JS -->
    <script type="text/javascript" src="resources/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="resources/js/all.js?v=0712"></script>
    <script type="text/javascript" src="resources/js/mobile-paper-examing.js"></script>
</body>
</html>
